FH:=-g -Wall
CC:=gcc
SRCS:=$(wildcard *.c)
OBJS:=$(patsubst %.c,%,$(SRCS))                                                                                       
.PHONY:clean rebuild all
all:$(OBJS)
%:%.c
	$(CC) $^ -o $@ $(FH)
clean:
	rm $(OBJS)
rebuild:clean all

